/*
// +-------------------------------------------------------------------------------
// | DingZone [ A Rapid Development Framework For Dingtalk ]
// +-------------------------------------------------------------------------------
// | 后台基础样式 v1.0
// |
// | Copyright (c) 2014-2018 http://www.heimalanshi.com All rights reserved.
// | Author : Jie
// | Date : 2018-08-09
// +-------------------------------------------------------------------------------
*/

body {
    overflow-y: auto !important;
}

/**
滚动条
**/
::-webkit-scrollbar-track-piece {
    /*//滚动条凹槽的颜色，还可以设置边框属性*/
    background-color: #f8f8f8;
}

::-webkit-scrollbar {
    /*滚动条的宽度*/
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    /*//滚动条的设置*/
    background-color: #dddddd;
    background-clip: padding-box;
    min-height: 28px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}

/**
表单元素默认
**/
.layui-left {
    float: left;
}

.layui-right {
    float: right;
}

.no-margin {
    margin: 0px !important;
}

.no-margin-r {
    margin-right: 0px !important;
}

.layui-input.readonly {
    padding: 0px;
    border: none;
    background: none;
    color: #000;
}

.layui-input-inline-sm {
    width: 100px !important;
}

.layui-input-inline-mid {
    width: 250px !important;
}

.layui-input-inline-long {
    width: 500px !important;
}

.layui-input-inline-auto {
    width: auto !important;
}

.layui-form-label-mid {
    width: 100px !important;
}

.layui-form-label-long {
    width: 150px !important;
}

.layui-form-label-auto {
    width: auto !important;
}

.layui-form .layui-word-aux .layui-form-switch {
    margin-top: 0px !important;
}

.layui-checkbox-icon-loading {
    color: #c2c2c2 !important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: layui-rotate;
    animation-name: layui-rotate;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    border: none !important;
}

.layui-form-checked .layui-checkbox-icon-loading {
    color: #5FB878 !important;
}

.layui-upload-img {
    width: 100px;
    height: 100px;
    border: solid 1px #eee;
}

.layui-layer-loading0 {
    width: 100px !important;
    height: 80px !important;
    background: url(../../static/images/loading.svg) center no-repeat !important;
    background-size: 60px !important;
}

.layui-table .layui-btn + .layui-btn {
    margin-left: 0px;
}

.layui-table .layui-btn {
    margin-right: 10px;
    margin-top: 2px;
}

.layui-text-center {
    text-align: center;
}

iframe.auto-height-iframe {
    border: none;
    width: 100%;
}